14. Backyard Flyer (local development)

Backyard Flyer

1 - Get the Code

  1. Navigate to your FCND-Term1-Starter-Kit directory.
  2. Make sure your virtual environment is activated
source activate fcnd
  1. Clone the backyard flyer repository.
git clone https://github.com/udacity/FCND-Backyard-Flyer.git
  1. Navigate to that repo.
cd FCND-Backyard-Flyer

Were you able to clone the backyard flyer repository?

SOLUTION: Yes

2 - Run the Solution

In this project you will be flying the drone in a square shape. We are providing one working solution, but for your implementation you should feel free to determine your own box size and altitude. We recommend not looking at the code for this solution unless you really need to.

In order to run the solution you should:

  1. Switch to the solution branch of the backyard flyer:
git checkout solution
  1. Start the simulator that you downloaded earlier. If you don't have the simulator you can download the simulator here.

  2. Run backyard_flyer.py

python backyard_flyer.py

Were you able to run the backyard flyer solution and see the drone fly in a square?

SOLUTION: Yes

3 - Read the documentation!

The drone API you'll be working with has thorough documentation. Use it to understand the properties and methods you have access to!

4 - Solve it Yourself!

  1. Return to the master branch:
git checkout master
  1. Open backyard_flyer.py in your favorite text editor. I recommend Sublime Text.

  2. Whenever you want to test your solution, run backyard_flyer.py

python backyard_flyer.py

Were you able to get your drone to takeoff, fly in a square, and then land?

SOLUTION: Yes

5 - Submit!

You'll submit your backyard_flyer.py file on the project page.